<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <script src="/static/layui/layui.all.js"></script>
</head>
<body style="padding: 20px;">
<form class="layui-form" action="/server" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">应用名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="{{.Name}}" required class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">连接地址</label>
        <div class="layui-input-block">
            <input type="text" name="server_addr" value="{{.ServerAddr}}" required class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用路径</label>
        <div class="layui-input-block">
            <input type="text" name="app_addr" value="{{.AppAddr}}" required class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">日志文件</label>
        <div class="layui-input-block">
            <input type="text" name="logs_addr" value="{{.LogsAddr}}" required class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">启动脚本</label>
        <div class="layui-input-block">
            <input type="text" name="run_addr" value="{{.RunAddr}}" required class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">停止脚本</label>
        <div class="layui-input-block">
            <input type="text" name="shutdown_addr" value="{{.ShutdownAddr}}" required class="layui-input">
        </div>
    </div>
</form>
</body>
</html>